import request from "@/utils/request";

const path = '/shop/'

// 设置营业状态
export const setShopStatus = (data) => {
    return request({
        url: path + data,
        method: 'put',
    })
}

// 获取营业状态
export const getShopStatus = () => {
    return request({
        url: path + 'status',
        method: 'get',
    })
}